package com.ang.enums.t1;

public enum SimpleEnum {
    NORMAL("正常"),
    ENABLE("可用"),
    DISABLE("禁用");

    private String desc;

    SimpleEnum(String desc) {
        this.desc = desc;
    }

    /**
     * 获取Enum
     */
    public static SimpleEnum getSimpleEnum(String desc) {
        return SimpleEnum.valueOf(desc);
    }
}
